package com.zhentao.service;

import com.zhentao.vo.OrderCreateVO;
import com.zhentao.vo.OrderDetailVO;
import java.util.List;

public interface OrderService {
    /**
     * 创建订单
     */
    String createOrder(OrderCreateVO orderCreateVO);

    /**
     * 获取订单详情
     */
    OrderDetailVO getOrderDetail(Long userId, String orderNo);

    /**
     * 获取用户订单列表
     */
    List<OrderDetailVO> getMyOrders(Long userId);

    /**
     * 取消订单
     */
    void cancelOrder(Long userId, String orderNo);

    /**
     * 支付订单
     */
    String payOrder(Long userId, String orderNo);
}
